import React, { useState, useEffect } from 'react';
import { PageHeader, TextArea, Button, Input } from 'antd';
import './Contact.css'

export default function Contact() {
  const { TextArea } = Input;
  return (
    <div className="wrap_contact">
      <PageHeader
        className="site-page-header"
        title="联系作者"
      />
      <div className="title-box">
        <Input placeholder="主题" />
      </div>
      <div className="contact-box">
        <TextArea rows={4} placeholder="内容" />
      </div>
      <div className="btn-box">
        <Button type="primary">提交</Button>
      </div>
    </div>
  )
}
